// 轮播图
export interface Banner {
  targetId: number
  url: string
  imageUrl: string
  typeTitle: string
}

// 热门标签
export interface HotTag {
  id: number
  name: string
  position: number
}

// 创作者
interface Creator {
  nickname: string
  avatarUrl: string
}

// 歌单
export interface SongSheet {
  id: number
  userId: number
  name: string
  picUrl: string
  coverImgUrl: string
  playCount: number
  tags: string[]
  createTime: number
  creator: Creator
  description: string
  subscribedCount: boolean
  shareCount: number
  commentCount: number
  subscribed: boolean
  tracks: Song[]
  trackCount: number
}

// 歌手
export interface Singer {
  id: number
  alias: string[]
  name: string
  picUrl: string
  albumSize: number
}

// 歌曲分类
export interface SongAl {
  id: number
  name: string
  picUrl: string
}

// 歌曲
export interface Song {
  id: number
  name: string
  url: string
  ar: Singer[]
  al: SongAl
  dt: number
}

// 歌曲播放地址
export interface SongUrl {
  id: number
  url: string
}

// 歌词
export interface Lyric {
  lyric: string
  tlyric: string
}

// 歌单列表
export interface SheetList {
  playlists: SongSheet[]
  total: number
}

// 搜索关键字
export interface SearchResult {
  artists?: Singer[]
  playlists?: SongSheet[]
  songs?: Song[]
}

export interface AnyJson {
  [key: string]: any
}

// 退出登录
export interface SampleBack extends AnyJson {
  code: number
}
